package com.dragon.shop_user.controller;

import com.dragon.shop_common.utils.AjaxResult;
import com.dragon.shop_user.service.IUserInfoService;
import com.dragon.shop_user.service.UserService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author Baomidou
 * @since 2025-03-20
 */
@RestController
@RequestMapping("/userInfo")
public class UserInfoController {

    @Resource
    private IUserInfoService userInfoService;

    @GetMapping("/createOrder")
    public AjaxResult<Void> createOrder() {
        return userInfoService.createOrder();
    }


}
